import 'package:FiduMart/generated/json/base/json_convert_content.dart';
import 'package:FiduMart/core/network/model/main_webcurrencyintroduct_entity.dart';

MainWebcurrencyintroductEntity $MainWebcurrencyintroductEntityFromJson(
    Map<String, dynamic> json) {
  final MainWebcurrencyintroductEntity mainWebcurrencyintroductEntity = MainWebcurrencyintroductEntity();
  final MainWebcurrencyintroductContent? content = jsonConvert.convert<
      MainWebcurrencyintroductContent>(json['content']);
  if (content != null) {
    mainWebcurrencyintroductEntity.content = content;
  }
  final MainWebcurrencyintroductCurrencymarketlist? currencymarketlist = jsonConvert
      .convert<MainWebcurrencyintroductCurrencymarketlist>(
      json['currencymarketlist']);
  if (currencymarketlist != null) {
    mainWebcurrencyintroductEntity.currencymarketlist = currencymarketlist;
  }
  return mainWebcurrencyintroductEntity;
}

Map<String, dynamic> $MainWebcurrencyintroductEntityToJson(
    MainWebcurrencyintroductEntity entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['content'] = entity.content?.toJson();
  data['currencymarketlist'] = entity.currencymarketlist?.toJson();
  return data;
}

extension MainWebcurrencyintroductEntityExt on MainWebcurrencyintroductEntity {
  MainWebcurrencyintroductEntity copyWith({
    MainWebcurrencyintroductContent? content,
    MainWebcurrencyintroductCurrencymarketlist? currencymarketlist,
  }) {
    return MainWebcurrencyintroductEntity()
      ..content = content ?? this.content
      ..currencymarketlist = currencymarketlist ?? this.currencymarketlist;
  }
}

MainWebcurrencyintroductContent $MainWebcurrencyintroductContentFromJson(
    Map<String, dynamic> json) {
  final MainWebcurrencyintroductContent mainWebcurrencyintroductContent = MainWebcurrencyintroductContent();
  final String? title = jsonConvert.convert<String>(json['title']);
  if (title != null) {
    mainWebcurrencyintroductContent.title = title;
  }
  final List<MainWebcurrencyintroductContentList>? list = (json['list'] as List<
      dynamic>?)?.map(
          (e) =>
      jsonConvert.convert<MainWebcurrencyintroductContentList>(
          e) as MainWebcurrencyintroductContentList).toList();
  if (list != null) {
    mainWebcurrencyintroductContent.list = list;
  }
  return mainWebcurrencyintroductContent;
}

Map<String, dynamic> $MainWebcurrencyintroductContentToJson(
    MainWebcurrencyintroductContent entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['title'] = entity.title;
  data['list'] = entity.list?.map((v) => v.toJson()).toList();
  return data;
}

extension MainWebcurrencyintroductContentExt on MainWebcurrencyintroductContent {
  MainWebcurrencyintroductContent copyWith({
    String? title,
    List<MainWebcurrencyintroductContentList>? list,
  }) {
    return MainWebcurrencyintroductContent()
      ..title = title ?? this.title
      ..list = list ?? this.list;
  }
}

MainWebcurrencyintroductContentList $MainWebcurrencyintroductContentListFromJson(
    Map<String, dynamic> json) {
  final MainWebcurrencyintroductContentList mainWebcurrencyintroductContentList = MainWebcurrencyintroductContentList();
  final String? key = jsonConvert.convert<String>(json['key']);
  if (key != null) {
    mainWebcurrencyintroductContentList.key = key;
  }
  final String? caption = jsonConvert.convert<String>(json['caption']);
  if (caption != null) {
    mainWebcurrencyintroductContentList.caption = caption;
  }
  final String? type = jsonConvert.convert<String>(json['type']);
  if (type != null) {
    mainWebcurrencyintroductContentList.type = type;
  }
  final String? contentType = jsonConvert.convert<String>(json['content_type']);
  if (contentType != null) {
    mainWebcurrencyintroductContentList.contentType = contentType;
  }
  final String? content = jsonConvert.convert<String>(json['content']);
  if (content != null) {
    mainWebcurrencyintroductContentList.content = content;
  }
  final List<
      MainWebcurrencyintroductContentListLinkcontent>? linkcontent = (json['linkcontent'] as List<
      dynamic>?)?.map(
          (e) =>
      jsonConvert.convert<
          MainWebcurrencyintroductContentListLinkcontent>(
          e) as MainWebcurrencyintroductContentListLinkcontent).toList();
  if (linkcontent != null) {
    mainWebcurrencyintroductContentList.linkcontent = linkcontent;
  }
  final String? intro = jsonConvert.convert<String>(json['intro']);
  if (intro != null) {
    mainWebcurrencyintroductContentList.intro = intro;
  }
  return mainWebcurrencyintroductContentList;
}

Map<String, dynamic> $MainWebcurrencyintroductContentListToJson(
    MainWebcurrencyintroductContentList entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['key'] = entity.key;
  data['caption'] = entity.caption;
  data['type'] = entity.type;
  data['content_type'] = entity.contentType;
  data['content'] = entity.content;
  data['linkcontent'] = entity.linkcontent?.map((v) => v.toJson()).toList();
  data['intro'] = entity.intro;
  return data;
}

extension MainWebcurrencyintroductContentListExt on MainWebcurrencyintroductContentList {
  MainWebcurrencyintroductContentList copyWith({
    String? key,
    String? caption,
    String? type,
    String? contentType,
    String? content,
    List<MainWebcurrencyintroductContentListLinkcontent>? linkcontent,
    String? intro,
  }) {
    return MainWebcurrencyintroductContentList()
      ..key = key ?? this.key
      ..caption = caption ?? this.caption
      ..type = type ?? this.type
      ..contentType = contentType ?? this.contentType
      ..content = content ?? this.content
      ..linkcontent = linkcontent ?? this.linkcontent
      ..intro = intro ?? this.intro;
  }
}

MainWebcurrencyintroductContentListLinkcontent $MainWebcurrencyintroductContentListLinkcontentFromJson(
    Map<String, dynamic> json) {
  final MainWebcurrencyintroductContentListLinkcontent mainWebcurrencyintroductContentListLinkcontent = MainWebcurrencyintroductContentListLinkcontent();
  final String? key = jsonConvert.convert<String>(json['key']);
  if (key != null) {
    mainWebcurrencyintroductContentListLinkcontent.key = key;
  }
  final String? title = jsonConvert.convert<String>(json['title']);
  if (title != null) {
    mainWebcurrencyintroductContentListLinkcontent.title = title;
  }
  final String? img = jsonConvert.convert<String>(json['img']);
  if (img != null) {
    mainWebcurrencyintroductContentListLinkcontent.img = img;
  }
  final String? link = jsonConvert.convert<String>(json['link']);
  if (link != null) {
    mainWebcurrencyintroductContentListLinkcontent.link = link;
  }
  return mainWebcurrencyintroductContentListLinkcontent;
}

Map<String, dynamic> $MainWebcurrencyintroductContentListLinkcontentToJson(
    MainWebcurrencyintroductContentListLinkcontent entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['key'] = entity.key;
  data['title'] = entity.title;
  data['img'] = entity.img;
  data['link'] = entity.link;
  return data;
}

extension MainWebcurrencyintroductContentListLinkcontentExt on MainWebcurrencyintroductContentListLinkcontent {
  MainWebcurrencyintroductContentListLinkcontent copyWith({
    String? key,
    String? title,
    String? img,
    String? link,
  }) {
    return MainWebcurrencyintroductContentListLinkcontent()
      ..key = key ?? this.key
      ..title = title ?? this.title
      ..img = img ?? this.img
      ..link = link ?? this.link;
  }
}

MainWebcurrencyintroductCurrencymarketlist $MainWebcurrencyintroductCurrencymarketlistFromJson(
    Map<String, dynamic> json) {
  final MainWebcurrencyintroductCurrencymarketlist mainWebcurrencyintroductCurrencymarketlist = MainWebcurrencyintroductCurrencymarketlist();
  final String? title = jsonConvert.convert<String>(json['title']);
  if (title != null) {
    mainWebcurrencyintroductCurrencymarketlist.title = title;
  }
  final MainWebcurrencyintroductCurrencymarketlistList? list = jsonConvert
      .convert<MainWebcurrencyintroductCurrencymarketlistList>(json['list']);
  if (list != null) {
    mainWebcurrencyintroductCurrencymarketlist.list = list;
  }
  return mainWebcurrencyintroductCurrencymarketlist;
}

Map<String, dynamic> $MainWebcurrencyintroductCurrencymarketlistToJson(
    MainWebcurrencyintroductCurrencymarketlist entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['title'] = entity.title;
  data['list'] = entity.list?.toJson();
  return data;
}

extension MainWebcurrencyintroductCurrencymarketlistExt on MainWebcurrencyintroductCurrencymarketlist {
  MainWebcurrencyintroductCurrencymarketlist copyWith({
    String? title,
    MainWebcurrencyintroductCurrencymarketlistList? list,
  }) {
    return MainWebcurrencyintroductCurrencymarketlist()
      ..title = title ?? this.title
      ..list = list ?? this.list;
  }
}

MainWebcurrencyintroductCurrencymarketlistList $MainWebcurrencyintroductCurrencymarketlistListFromJson(
    Map<String, dynamic> json) {
  final MainWebcurrencyintroductCurrencymarketlistList mainWebcurrencyintroductCurrencymarketlistList = MainWebcurrencyintroductCurrencymarketlistList();
  final List<
      MainWebcurrencyintroductCurrencymarketlistListList>? list = (json['list'] as List<
      dynamic>?)?.map(
          (e) =>
      jsonConvert.convert<
          MainWebcurrencyintroductCurrencymarketlistListList>(
          e) as MainWebcurrencyintroductCurrencymarketlistListList).toList();
  if (list != null) {
    mainWebcurrencyintroductCurrencymarketlistList.list = list;
  }
  final double? sumVolume24hFrom = jsonConvert.convert<double>(
      json['sum_volume_24h_from']);
  if (sumVolume24hFrom != null) {
    mainWebcurrencyintroductCurrencymarketlistList.sumVolume24hFrom =
        sumVolume24hFrom;
  }
  final int? totalPage = jsonConvert.convert<int>(json['total_page']);
  if (totalPage != null) {
    mainWebcurrencyintroductCurrencymarketlistList.totalPage = totalPage;
  }
  final int? totalCount = jsonConvert.convert<int>(json['total_count']);
  if (totalCount != null) {
    mainWebcurrencyintroductCurrencymarketlistList.totalCount = totalCount;
  }
  return mainWebcurrencyintroductCurrencymarketlistList;
}

Map<String, dynamic> $MainWebcurrencyintroductCurrencymarketlistListToJson(
    MainWebcurrencyintroductCurrencymarketlistList entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['list'] = entity.list?.map((v) => v.toJson()).toList();
  data['sum_volume_24h_from'] = entity.sumVolume24hFrom;
  data['total_page'] = entity.totalPage;
  data['total_count'] = entity.totalCount;
  return data;
}

extension MainWebcurrencyintroductCurrencymarketlistListExt on MainWebcurrencyintroductCurrencymarketlistList {
  MainWebcurrencyintroductCurrencymarketlistList copyWith({
    List<MainWebcurrencyintroductCurrencymarketlistListList>? list,
    double? sumVolume24hFrom,
    int? totalPage,
    int? totalCount,
  }) {
    return MainWebcurrencyintroductCurrencymarketlistList()
      ..list = list ?? this.list
      ..sumVolume24hFrom = sumVolume24hFrom ?? this.sumVolume24hFrom
      ..totalPage = totalPage ?? this.totalPage
      ..totalCount = totalCount ?? this.totalCount;
  }
}

MainWebcurrencyintroductCurrencymarketlistListList $MainWebcurrencyintroductCurrencymarketlistListListFromJson(
    Map<String, dynamic> json) {
  final MainWebcurrencyintroductCurrencymarketlistListList mainWebcurrencyintroductCurrencymarketlistListList = MainWebcurrencyintroductCurrencymarketlistListList();
  final String? flag = jsonConvert.convert<String>(json['flag']);
  if (flag != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.flag = flag;
  }
  final String? emojiFlag = jsonConvert.convert<String>(json['emoji_flag']);
  if (emojiFlag != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.emojiFlag = emojiFlag;
  }
  final String? logo = jsonConvert.convert<String>(json['logo']);
  if (logo != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.logo = logo;
  }
  final int? rank = jsonConvert.convert<int>(json['rank']);
  if (rank != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.rank = rank;
  }
  final int? id = jsonConvert.convert<int>(json['id']);
  if (id != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.id = id;
  }
  final String? name = jsonConvert.convert<String>(json['name']);
  if (name != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.name = name;
  }
  final String? website = jsonConvert.convert<String>(json['website']);
  if (website != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.website = website;
  }
  final String? twitter = jsonConvert.convert<String>(json['twitter']);
  if (twitter != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.twitter = twitter;
  }
  final String? twitterName = jsonConvert.convert<String>(json['twitter_name']);
  if (twitterName != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.twitterName =
        twitterName;
  }
  final String? language = jsonConvert.convert<String>(json['language']);
  if (language != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.language = language;
  }
  final int? hot = jsonConvert.convert<int>(json['hot']);
  if (hot != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.hot = hot;
  }
  final int? weight = jsonConvert.convert<int>(json['weight']);
  if (weight != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.weight = weight;
  }
  final int? enabled = jsonConvert.convert<int>(json['enabled']);
  if (enabled != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.enabled = enabled;
  }
  final String? comId = jsonConvert.convert<String>(json['com_id']);
  if (comId != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.comId = comId;
  }
  final int? marketId = jsonConvert.convert<int>(json['market_id']);
  if (marketId != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.marketId = marketId;
  }
  final String? marketName = jsonConvert.convert<String>(json['market_name']);
  if (marketName != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.marketName = marketName;
  }
  final String? symbol = jsonConvert.convert<String>(json['symbol']);
  if (symbol != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.symbol = symbol;
  }
  final String? currency = jsonConvert.convert<String>(json['currency']);
  if (currency != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.currency = currency;
  }
  final String? anchor = jsonConvert.convert<String>(json['anchor']);
  if (anchor != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.anchor = anchor;
  }
  final String? pair = jsonConvert.convert<String>(json['pair']);
  if (pair != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.pair = pair;
  }
  final String? price = jsonConvert.convert<String>(json['price']);
  if (price != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.price = price;
  }
  final String? priceUsd = jsonConvert.convert<String>(json['price_usd']);
  if (priceUsd != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.priceUsd = priceUsd;
  }
  final String? priceCny = jsonConvert.convert<String>(json['price_cny']);
  if (priceCny != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.priceCny = priceCny;
  }
  final double? percentChangeUtc8Yesterday = jsonConvert.convert<double>(
      json['percent_change_utc8_yesterday']);
  if (percentChangeUtc8Yesterday != null) {
    mainWebcurrencyintroductCurrencymarketlistListList
        .percentChangeUtc8Yesterday = percentChangeUtc8Yesterday;
  }
  final double? percentChangeUtc0Yesterday = jsonConvert.convert<double>(
      json['percent_change_utc0_yesterday']);
  if (percentChangeUtc0Yesterday != null) {
    mainWebcurrencyintroductCurrencymarketlistListList
        .percentChangeUtc0Yesterday = percentChangeUtc0Yesterday;
  }
  final dynamic percentChangeToday = json['percent_change_today'];
  if (percentChangeToday != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.percentChangeToday =
        percentChangeToday;
  }
  final double? percentChangeUtc8 = jsonConvert.convert<double>(
      json['percent_change_utc8']);
  if (percentChangeUtc8 != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.percentChangeUtc8 =
        percentChangeUtc8;
  }
  final double? percentChangeUtc80 = jsonConvert.convert<double>(
      json['percent_change_utc8_0']);
  if (percentChangeUtc80 != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.percentChangeUtc80 =
        percentChangeUtc80;
  }
  final int? currencyId = jsonConvert.convert<int>(json['currency_id']);
  if (currencyId != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.currencyId = currencyId;
  }
  final String? volume24hUsd = jsonConvert.convert<String>(
      json['volume_24h_usd']);
  if (volume24hUsd != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.volume24hUsd =
        volume24hUsd;
  }
  final String? sumVolume24hUsd = jsonConvert.convert<String>(
      json['sum_volume_24h_usd']);
  if (sumVolume24hUsd != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.sumVolume24hUsd =
        sumVolume24hUsd;
  }
  final String? volume24h = jsonConvert.convert<String>(json['volume_24h']);
  if (volume24h != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.volume24h = volume24h;
  }
  final double? volume24hFrom = jsonConvert.convert<double>(
      json['volume_24h_from']);
  if (volume24hFrom != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.volume24hFrom =
        volume24hFrom;
  }
  final double? sumVolume24hFrom = jsonConvert.convert<double>(
      json['sum_volume_24h_from']);
  if (sumVolume24hFrom != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.sumVolume24hFrom =
        sumVolume24hFrom;
  }
  final double? percentChangeUtc0 = jsonConvert.convert<double>(
      json['percent_change_utc0']);
  if (percentChangeUtc0 != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.percentChangeUtc0 =
        percentChangeUtc0;
  }
  final double? percentChangeUtc00 = jsonConvert.convert<double>(
      json['percent_change_utc0_0']);
  if (percentChangeUtc00 != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.percentChangeUtc00 =
        percentChangeUtc00;
  }
  final String? alias = jsonConvert.convert<String>(json['alias']);
  if (alias != null) {
    mainWebcurrencyintroductCurrencymarketlistListList.alias = alias;
  }
  return mainWebcurrencyintroductCurrencymarketlistListList;
}

Map<String, dynamic> $MainWebcurrencyintroductCurrencymarketlistListListToJson(
    MainWebcurrencyintroductCurrencymarketlistListList entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['flag'] = entity.flag;
  data['emoji_flag'] = entity.emojiFlag;
  data['logo'] = entity.logo;
  data['rank'] = entity.rank;
  data['id'] = entity.id;
  data['name'] = entity.name;
  data['website'] = entity.website;
  data['twitter'] = entity.twitter;
  data['twitter_name'] = entity.twitterName;
  data['language'] = entity.language;
  data['hot'] = entity.hot;
  data['weight'] = entity.weight;
  data['enabled'] = entity.enabled;
  data['com_id'] = entity.comId;
  data['market_id'] = entity.marketId;
  data['market_name'] = entity.marketName;
  data['symbol'] = entity.symbol;
  data['currency'] = entity.currency;
  data['anchor'] = entity.anchor;
  data['pair'] = entity.pair;
  data['price'] = entity.price;
  data['price_usd'] = entity.priceUsd;
  data['price_cny'] = entity.priceCny;
  data['percent_change_utc8_yesterday'] = entity.percentChangeUtc8Yesterday;
  data['percent_change_utc0_yesterday'] = entity.percentChangeUtc0Yesterday;
  data['percent_change_today'] = entity.percentChangeToday;
  data['percent_change_utc8'] = entity.percentChangeUtc8;
  data['percent_change_utc8_0'] = entity.percentChangeUtc80;
  data['currency_id'] = entity.currencyId;
  data['volume_24h_usd'] = entity.volume24hUsd;
  data['sum_volume_24h_usd'] = entity.sumVolume24hUsd;
  data['volume_24h'] = entity.volume24h;
  data['volume_24h_from'] = entity.volume24hFrom;
  data['sum_volume_24h_from'] = entity.sumVolume24hFrom;
  data['percent_change_utc0'] = entity.percentChangeUtc0;
  data['percent_change_utc0_0'] = entity.percentChangeUtc00;
  data['alias'] = entity.alias;
  return data;
}

extension MainWebcurrencyintroductCurrencymarketlistListListExt on MainWebcurrencyintroductCurrencymarketlistListList {
  MainWebcurrencyintroductCurrencymarketlistListList copyWith({
    String? flag,
    String? emojiFlag,
    String? logo,
    int? rank,
    int? id,
    String? name,
    String? website,
    String? twitter,
    String? twitterName,
    String? language,
    int? hot,
    int? weight,
    int? enabled,
    String? comId,
    int? marketId,
    String? marketName,
    String? symbol,
    String? currency,
    String? anchor,
    String? pair,
    String? price,
    String? priceUsd,
    String? priceCny,
    double? percentChangeUtc8Yesterday,
    double? percentChangeUtc0Yesterday,
    dynamic percentChangeToday,
    double? percentChangeUtc8,
    double? percentChangeUtc80,
    int? currencyId,
    String? volume24hUsd,
    String? sumVolume24hUsd,
    String? volume24h,
    double? volume24hFrom,
    double? sumVolume24hFrom,
    double? percentChangeUtc0,
    double? percentChangeUtc00,
    String? alias,
  }) {
    return MainWebcurrencyintroductCurrencymarketlistListList()
      ..flag = flag ?? this.flag
      ..emojiFlag = emojiFlag ?? this.emojiFlag
      ..logo = logo ?? this.logo
      ..rank = rank ?? this.rank
      ..id = id ?? this.id
      ..name = name ?? this.name
      ..website = website ?? this.website
      ..twitter = twitter ?? this.twitter
      ..twitterName = twitterName ?? this.twitterName
      ..language = language ?? this.language
      ..hot = hot ?? this.hot
      ..weight = weight ?? this.weight
      ..enabled = enabled ?? this.enabled
      ..comId = comId ?? this.comId
      ..marketId = marketId ?? this.marketId
      ..marketName = marketName ?? this.marketName
      ..symbol = symbol ?? this.symbol
      ..currency = currency ?? this.currency
      ..anchor = anchor ?? this.anchor
      ..pair = pair ?? this.pair
      ..price = price ?? this.price
      ..priceUsd = priceUsd ?? this.priceUsd
      ..priceCny = priceCny ?? this.priceCny
      ..percentChangeUtc8Yesterday = percentChangeUtc8Yesterday ??
          this.percentChangeUtc8Yesterday
      ..percentChangeUtc0Yesterday = percentChangeUtc0Yesterday ??
          this.percentChangeUtc0Yesterday
      ..percentChangeToday = percentChangeToday ?? this.percentChangeToday
      ..percentChangeUtc8 = percentChangeUtc8 ?? this.percentChangeUtc8
      ..percentChangeUtc80 = percentChangeUtc80 ?? this.percentChangeUtc80
      ..currencyId = currencyId ?? this.currencyId
      ..volume24hUsd = volume24hUsd ?? this.volume24hUsd
      ..sumVolume24hUsd = sumVolume24hUsd ?? this.sumVolume24hUsd
      ..volume24h = volume24h ?? this.volume24h
      ..volume24hFrom = volume24hFrom ?? this.volume24hFrom
      ..sumVolume24hFrom = sumVolume24hFrom ?? this.sumVolume24hFrom
      ..percentChangeUtc0 = percentChangeUtc0 ?? this.percentChangeUtc0
      ..percentChangeUtc00 = percentChangeUtc00 ?? this.percentChangeUtc00
      ..alias = alias ?? this.alias;
  }
}